export const addUser = (user) => ({
    type: 'ADD_USER',
    user: user
});

export const setName = (name) => ({
    type: 'SET_NAME',
    name: name
});